import request from '@/utils/request.js'


// 头像上传
export const UploadAvatar = (data) => {
  return request({
    url: '/member/file/uploadAvatar',
    method: 'post',
    data
  })
}


// 图片上传
export const UploadArticleImage = (data) => {
  return request({
    url: '/member/file/uploadArticleImage',
    method: 'post',
    data
  })
}

